package org.wdcode.back.helper;

import org.wdcode.back.po.LoginLogs;
import org.wdcode.base.helper.BaseEntityHelper;

/**
 * 登录日志助手类
 * @author WD
 * @since JDK6
 * @version 1.0 2010-03-07
 */
public final class LoginLogsHelper extends BaseEntityHelper<LoginLogs> {
	// 助手类
	private static LoginLogsHelper	helper;

	/**
	 * 获得LoginLogs类
	 */
	@Override
	public Class<LoginLogs> getEntityClass() {
		return LoginLogs.class;
	}

	/**
	 * 实例化一个LoginLogs对象
	 */
	@Override
	public LoginLogs newInstance() {
		return new LoginLogs();
	}

	/**
	 * 获得助手类
	 * @return 助手类
	 */
	public static LoginLogsHelper getHelper() {
		return helper;
	}

	/**
	 * 设置助手类
	 * @param helper 助手类
	 */
	public void setHelper(LoginLogsHelper helper) {
		LoginLogsHelper.helper = helper;
	}
}
